package com.xltq.controller;

import com.xltq.pojo.User;
import com.xltq.service.StudentService;
import com.xltq.service.impl.StudentServiceImpl;
import com.xltq.service.user;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StudentController {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-config");
        StudentService studentServcie = (StudentService) context.getBean("studentServcie");
       /* studentServcie.add(new User(1,"lisi","男","长春"));*/
        studentServcie.del();
        /* studentServcie.set("张三","松原市");*/
        /*  System.out.println(studentServcie.show());*/
        /*    studentServcie.query();*/
        /*  studentServcie.query();*/
    }
}
